package com.example.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class DemoConfiguration {

    public ThreadDemo threadDemo() {
        ThreadDemo threadDemo = new ThreadDemo();
        threadDemo.run();
        return threadDemo;
    }
}
